package com.gxa.mapper;

import com.gxa.entity.Subscribe;
import com.gxa.vo.DcPaIdVo;
import com.gxa.vo.IdDepartmentVo;
import com.gxa.vo.MakeByDepartVo;

import java.util.List;

public interface MakeMapper {
    List<Integer> selectSubType();

    //根据挂号类型选择科室
    List<IdDepartmentVo> selectBySubType(Integer id);

    //根据科室选择医生、挂号类型、预约费用
    List<MakeByDepartVo> selectByDepart(IdDepartmentVo idDepartmentVo);

    //查医生Id
    Integer selectDoctorId(String dcName);

    //查患者Id
    Integer selectPatientId(String phone);
    //查患者就诊卡
    String selectPatientmedCard(String phone);

    //查科室id
    Integer selectDepartmentId(String name);

    //添加医生患者关联信息
    void insertPaIdAnddcId(DcPaIdVo dcPaIdVo);

    //添加预约信息
    void insertSubscribe(Subscribe subscribe);
}
